<?php
/* @var $this MovieController */
/* @var $data Movie */
?>

<div class="view">

    <b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
    <?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id' => $data->id)); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
    <?php echo CHtml::encode($data->title); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('subject')); ?>:</b>
    <?php echo CHtml::encode($data->subject); ?>
    <br />
    <br />
    <img src="/images/<?php echo CHtml::encode($data->small_image); ?>"/>
    <br />
    <br />
    <b><?php echo CHtml::encode($data->getAttributeLabel('source_image')); ?>:</b>
    <?php echo CHtml::encode($data->source_image); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('free_image')); ?>:</b>
    <?php echo ($data->free_image ? Yii::t('default', 'Yes') : Yii::t('default', 'No')); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('year')); ?>:</b>
    <?php echo CHtml::encode($data->year); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('duration')); ?>:</b>
    <?php echo CHtml::encode($data->duration); ?>
    <br />
    
    <b><?php echo CHtml::encode($data->getAttributeLabel('hidden')); ?>:</b>
    <?php echo ($data->hidden ? Yii::t('default', 'Yes') : Yii::t('default', 'No')); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('wikipedia_url')); ?>:</b>
    <?php echo CHtml::encode($data->wikipedia_url); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('youtube_id')); ?>:</b>
    <?php echo CHtml::encode($data->youtube_id); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('kp_id')); ?>:</b>
    <?php echo CHtml::encode($data->kp_id); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('kp_rating')); ?>:</b>
    <?php echo CHtml::encode($data->kp_rating); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('imdb_rating')); ?>:</b>
    <?php echo CHtml::encode($data->imdb_rating); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('language_id')); ?>:</b>
    <?php echo CHtml::encode($data->language->name); ?>
    <br />


</div>